home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 039a / mawk.zip / BI_FUNCT.H < prev    next >
C/C++ Source or Header  |  1991-04-22  |  2KB  |  69 lines

  1.  
  2. /********************************************
  3. bi_funct.h
  4. copyright 1991, Michael D. Brennan
  5.  
  6. This is a source file for mawk, an implementation of
  7. the Awk programming language as defined in
  8. Aho, Kernighan and Weinberger, The AWK Programming Language,
  9. Addison-Wesley, 1988.
  10.  
  11. See the accompaning file, LIMITATIONS, for restrictions
  12. regarding modification and redistribution of this
  13. program in source or binary form.
  14. ********************************************/
  15.  
  16.  
  17. /* $Log:    bi_funct.h,v $
  18.  * Revision 2.2  91/04/22  08:00:13  brennan
  19.  * prototype for bi_errmsg() under DOS
  20.  * 
  21.  * Revision 2.1  91/04/08  08:22:20  brennan
  22.  * VERSION 0.97
  23.  * 
  24. */
  25.  
  26. #ifndef  BI_FUNCT_H
  27. #define  BI_FUNCT_H  1
  28.  
  29. #include "symtype.h"
  30.  
  31. extern BI_REC  bi_funct[] ;
  32.  
  33. void PROTO(bi_init, (void) ) ;
  34.  
  35. /* builtin string functions */
  36. CELL *PROTO( bi_print, (CELL *) ) ;
  37. CELL *PROTO( bi_printf, (CELL *) ) ;
  38. CELL *PROTO( bi_length, (CELL *) ) ;
  39. CELL *PROTO( bi_index, (CELL *) ) ;
  40. CELL *PROTO( bi_substr, (CELL *) ) ;
  41. CELL *PROTO( bi_sprintf, (CELL *) ) ;
  42. CELL *PROTO( bi_split, (CELL *) ) ;
  43. CELL *PROTO( bi_match, (CELL *) ) ;
  44. CELL *PROTO( bi_getline, (CELL *) ) ;
  45. CELL *PROTO( bi_sub, (CELL *) ) ;
  46. CELL *PROTO( bi_gsub, (CELL *) ) ;
  47.  
  48. /* builtin arith functions */
  49. CELL *PROTO( bi_sin, (CELL *) ) ;
  50. CELL *PROTO( bi_cos, (CELL *) ) ;
  51. CELL *PROTO( bi_atan2, (CELL *) ) ;
  52. CELL *PROTO( bi_log, (CELL *) ) ;
  53. CELL *PROTO( bi_exp, (CELL *) ) ;
  54. CELL *PROTO( bi_int, (CELL *) ) ;
  55. CELL *PROTO( bi_sqrt, (CELL *) ) ;
  56. CELL *PROTO( bi_srand, (CELL *) ) ;
  57. CELL *PROTO( bi_rand, (CELL *) ) ;
  58.  
  59. /* other builtins */
  60. CELL *PROTO( bi_close, (CELL *) ) ;
  61. CELL *PROTO( bi_system, (CELL *) ) ;
  62.  
  63. #if  DOS
  64. CELL *PROTO(bi_errmsg, (CELL *) ) ;
  65. #endif
  66.  
  67. #endif  /* BI_FUNCT_H  */
  68.  
  69.